package com.mmx.baseservice.common.thread;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class AsyncService {

    @Async
    public void test1(){
        System.out.println("test1运行");
    }

    @Async
    public void test2(){
        System.out.println("test2运行");
    }
}
